home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_m_p / mews11.zip / README.SRC < prev    next >
Text File  |  1992-10-13  |  5KB  |  117 lines

  1. MicroEMACS 3.11c for Windows, prerelease update 1.1    Pierre Perret
  2. ====================================================   October 12, 1992
  3. Development notes
  4.  
  5. Files in this ZIP archive:
  6. -------------------------
  7.  
  8. README.SRC    this file
  9. MEWINB3.MAK     Makefile for Borland C 3.0 (generates debug info)
  10. MEWINMS.MAK     Makefile for MSC 7.0 (for both Win 3.x and Windows NT)
  11. BASIC.C         \
  12. BIND.C          |
  13. BUFFER.C        |
  14. CHAR.C          |
  15. CRYPT.C         \
  16. ELANG.H          | MicroEMACS unmodified 3.11c source files
  17. ISEARCH.C       /
  18. LOCK.C          |
  19. REGION.C        |
  20. TAGS.C          /
  21. DISPLAY.C       \
  22. DOLOCK.C        |
  23. EBIND.H         |
  24. EDEF.H          |
  25. EFUNC.H         |
  26. ENGLISH.H       |
  27. EPATH.H         |
  28. EPROTO.H        |
  29. ESTRUCT.H       |
  30. EVAL.C          |
  31. EVAR.H          |
  32. EXEC.C          \
  33. FILE.C           | modified MicroEMACS 3.11c source files
  34. FILEIO.C        /
  35. INPUT.C         |
  36. LINE.C          |
  37. MAIN.C          |
  38. MOUSE.C         |
  39. RANDOM.C        |   
  40. SCREEN.C        |
  41. SEARCH.C        |
  42. WINDOW.C        |
  43. WORD.C          /
  44. MEWIN.DEF       linker definition file
  45. MEWIN.RC        resouce main source file
  46. MSWMENU.RC          menu resource
  47. MSWABOUT.DLG        about dialog box
  48. MSWFILE.DLG         file dialog box
  49. MSWFONTS.DLG        font dialog box
  50. MSWMLH.DLG          message line history dialog box
  51. MSWMODES.DLG        modes dialog box
  52. MSWPRG.DLG          "waiting for other program" dialog box
  53. MSWNOT.CUR          cursor for not-quiescent state
  54. MSWCUR.CUR          pointing finger cursor
  55. MSWGRIN1.CUR        \
  56.     to               |  components of the animated grinder cursor
  57. MSWGRIN8.CUR        /
  58. MSWAPP.ICO          application icon
  59. MSWSCR.ICO          MDI child (screen) icon
  60. MSWWAIT.ICO         icon for the "waiting for other program" dialog box
  61. MSWMENU.H       menu IDs definitions
  62. MSWRID.H        resource IDs definitions
  63. MSWHELP.H       help contexts include file
  64. MSWIN.H         main (all purpose) include file
  65. MSWDISP.C       display handling module
  66. MSWDRV.C        seen by the rest of the editor as the "display driver"
  67. MSWEMACS.C      extra EMACS functions (clipboard, screen juggling, drag'n drop)
  68. MSWEXEC.C       code related to launching DOS sessions (or WinApps)
  69. MSWFILE.C       file dialog box and current working directory management
  70. MSWFONT.C       font initialization and dialog box
  71. MSWINPUT.C      keyboard and mouse input handling
  72. MSWMEM.C        suballocator replacing the standard malloc, free & realloc
  73. MSWMENU.C       all the menu stuff (includes the menu binding functions)
  74. MSWSYS.C        WinMain, message loop, window procs...
  75.  
  76. Remarks:
  77. -------
  78.  
  79. - This has been compiled by Borland C++ 3.0 and MSC 7.0, not by Borland
  80. C++ 3.1 (It may very well work, but I do not have that version). Borland
  81. C++ 2.0 lacks a library function "_fullpath" used by MSWFILE.C.
  82.  
  83. - If you want to compile this code but do not have a Windows 3.1 SDK (or
  84. Borland C++ 3.1, or Windows NT), you need to set the #define WIN30SDK to
  85. 1 in MSWIN.H. This will remove a few features (notably drag'n drop) but
  86. makes the sources compatible with the 3.0 WINDOWS.H.
  87.  
  88. - This code has to be compiled in large model. Since, even in that
  89. model, Borland C++ and MSC 7.0 can generate a single Data Segment, it is
  90. still possible to run multiple instances of MEWIN. The other compilers
  91. may generate multiple data segments in large model, thus creating
  92. single-instance-only programs. Depending on the users' taste, this may
  93. be a non-issue due to MDI availability..
  94.  
  95. - For Windows 3.x, the Borland C++ 3.0 and MSC 7.0 libraries provide a
  96. segment suballocator for the malloc, realloc and free functions. Other
  97. compilers often supply a simple segment allocator for those functions in
  98. large model. Since the maximum number of segments allocated at any time
  99. under Windows cannot exceed 8K (the number of entries in the selector
  100. table), use of a suballocation mechanism is a must. The MSWMEM.C module
  101. contains just that. A previous BETA of this program was compiled with BC
  102. 2.0 and therefore used this module, so it has been tested. However, I
  103. have encountered very rare occurences of UAEs that I believe are caused
  104. by MSWMEM.C. The MSWIN.H module contains flags SUBALLOC and MEMTRACE
  105. which should be set to 1 if you want to use malloc/realloc/free from
  106. MSWMEM.C. MEMTRACE is not absolutely necessary but adds a trace of the
  107. last 256 MSWMEM events. I had installed that to catch the UAE in the act
  108. with the help of DrFrank (a UAE dump taker/analyzer)... The thing has
  109. never reared its ugly head since then!
  110.  
  111. ------------------------------------------------------------------------
  112.  
  113. Enjoy...
  114.  
  115.         Pierre Perret
  116.  
  117.